Skip to content

CI: add workflow to cleanup PR caches on close#5129

Closed
RishavTiwari25 wants to merge 1 commit intoboa-dev:mainfrom
RishavTiwari25:ci/cleanup-pr-caches
Closed

CI: add workflow to cleanup PR caches on close#5129
RishavTiwari25 wants to merge 1 commit intoboa-dev:mainfrom
RishavTiwari25:ci/cleanup-pr-caches

Conversation

@RishavTiwari25
Copy link
Contributor

@RishavTiwari25 RishavTiwari25 commented Mar 17, 2026

This Pull Request fixes/closes #5128 .

It changes the following:

  • Adds .github/workflows/cleanup-caches.yml workflow.
  • Automatically deletes GitHub Actions caches scoped specifically to a pull request branch when that PR is closed or merged.
  • Prevents orphaned PR caches from accumulating and exceeding the repository's 10 GB limit, reducing cache eviction churn.
  • Uses the gh actions-cache delete CLI securely with actions: write scope.

@RishavTiwari25 RishavTiwari25 requested a review from a team as a code owner March 17, 2026 20:41
@github-actions github-actions bot added Waiting On Review Waiting on reviews from the maintainers C-Builtins PRs and Issues related to builtins/intrinsics C-Actions Pull requests that update Github Actions code and removed Waiting On Review Waiting on reviews from the maintainers labels Mar 17, 2026
@github-actions github-actions bot added this to the v1.0.0 milestone Mar 17, 2026
@github-actions
Copy link

Test262 conformance changes

Test result main count PR count difference
Total 52,963 52,963 0
Passed 50,073 50,073 0
Ignored 2,072 2,072 0
Failed 818 818 0
Panics 0 0 0
Conformance 94.54% 94.54% 0.00%

Tested main commit: 70409a5052984325dccfdc5f6520818568a81f39
Tested PR commit: dbab35bbce94f1930b7fde14ded227c8528460cb
Compare commits: 70409a5...dbab35b

@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.31%. Comparing base (6ddc2b4) to head (dbab35b).
⚠️ Report is 892 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5129       +/-   ##
===========================================
+ Coverage   47.24%   59.31%   +12.07%     
===========================================
  Files         476      563       +87     
  Lines       46892    62795    +15903     
===========================================
+ Hits        22154    37249    +15095     
- Misses      24738    25546      +808     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jedel1043 jedel1043 closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Actions Pull requests that update Github Actions code C-Builtins PRs and Issues related to builtins/intrinsics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: add workflow to cleanup PR caches on close

2 participants